package question1;

/**
 * extrait de http://www.oreilly.com/catalog/hfdesignpat/
 */
public class BeetSugar  extends CondimentDecorator {
	Beverage beverage;

	public BeetSugar(Beverage beverage) {
		this.beverage = beverage;
	}

	public String getDescription() {
		return beverage.getDescription() + ", Beet Sugar";
	}

	public double cost() {
		return .10 + beverage.cost();
	}

}